{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}U:\u5390570\Hitler Youth Project\Main Data Analysis\More Altonji-Elder-Taber Tests.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}20 Nov 2017, 07:58:58

{com}. reg monthshy catholic class hum_cap urban

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}    11,487
{txt}{hline 13}{c +}{hline 34}   F(4, 11482)     = {res}    54.78
{txt}       Model {c |} {res} 266355.096         4  66588.7739   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 13955997.5    11,482  1215.46747   {txt}R-squared       ={res}    0.0187
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0184
{txt}       Total {c |} {res} 14222352.6    11,486  1238.23373   {txt}Root MSE        =   {res} 34.864

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    monthshy{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}catholic {c |}{col 14}{res}{space 2}-6.880301{col 26}{space 2} .6562004{col 37}{space 1}  -10.49{col 46}{space 3}0.000{col 54}{space 4}-8.166566{col 67}{space 3}-5.594037
{txt}{space 7}class {c |}{col 14}{res}{space 2}-4.165723{col 26}{space 2} .4423918{col 37}{space 1}   -9.42{col 46}{space 3}0.000{col 54}{space 4}-5.032886{col 67}{space 3}-3.298559
{txt}{space 5}hum_cap {c |}{col 14}{res}{space 2}  1.03052{col 26}{space 2} .3688678{col 37}{space 1}    2.79{col 46}{space 3}0.005{col 54}{space 4}  .307476{col 67}{space 3} 1.753563
{txt}{space 7}urban {c |}{col 14}{res}{space 2}-3.543055{col 26}{space 2} .8740681{col 37}{space 1}   -4.05{col 46}{space 3}0.000{col 54}{space 4}-5.256377{col 67}{space 3}-1.829732
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 35.72684{col 26}{space 2} 1.083845{col 37}{space 1}   32.96{col 46}{space 3}0.000{col 54}{space 4} 33.60232{col 67}{space 3} 37.85136
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. predict yhat
{err}variable {bf}yhat{sf} already defined
{txt}{search r(110), local:r(110);}

{com}. drop yhat

. predict yhat
{txt}(option {bf:xb} assumed; fitted values)
(6,976 missing values generated)

{com}. logit hy catholic class hum_cap urban i.year

{txt}note: 1902.year != 0 predicts success perfectly
      1902.year dropped and 1 obs not used

note: 1906.year != 0 predicts success perfectly
      1906.year dropped and 2 obs not used

note: 1909.year != 0 predicts success perfectly
      1909.year dropped and 1 obs not used

note: 1910.year != 0 predicts success perfectly
      1910.year dropped and 2 obs not used

note: 1912.year != 0 predicts success perfectly
      1912.year dropped and 3 obs not used

note: 1925.year != 0 predicts failure perfectly
      1925.year dropped and 679 obs not used

note: 1926.year != 0 predicts failure perfectly
      1926.year dropped and 624 obs not used

note: 1928.year != 0 predicts failure perfectly
      1928.year dropped and 43 obs not used

note: 1929.year != 0 predicts failure perfectly
      1929.year dropped and 1 obs not used

note: 1927.year omitted because of collinearity
{res}{txt}Iteration 0:{space 3}log likelihood = {res:-185.64472}  
Iteration 1:{space 3}log likelihood = {res:-182.43418}  
Iteration 2:{space 3}log likelihood = {res:-172.80305}  (backed up)
Iteration 3:{space 3}log likelihood = {res:-156.15027}  
Iteration 4:{space 3}log likelihood = {res:-151.99028}  
Iteration 5:{space 3}log likelihood = {res:-148.25539}  
Iteration 6:{space 3}log likelihood = {res:-147.98417}  
Iteration 7:{space 3}log likelihood = {res:-147.98364}  
Iteration 8:{space 3}log likelihood = {res:-147.98364}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     2,958
{txt}{col 49}LR chi2({res}18{txt}){col 67}= {res}     75.32
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-147.98364{txt}{col 49}Pseudo R2{col 67}= {res}    0.2029

{txt}{hline 14}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}hy_instructor{col 15}{c |}      Coef.{col 27}   Std. Err.{col 39}      z{col 47}   P>|z|{col 55}     [95% Con{col 68}f. Interval]
{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}catholic {c |}{col 15}{res}{space 2} .0252899{col 27}{space 2} .3867346{col 38}{space 1}    0.07{col 47}{space 3}0.948{col 55}{space 4} -.732696{col 68}{space 3} .7832759
{txt}{space 8}class {c |}{col 15}{res}{space 2} .0376863{col 27}{space 2} .2915278{col 38}{space 1}    0.13{col 47}{space 3}0.897{col 55}{space 4}-.5336976{col 68}{space 3} .6090703
{txt}{space 6}hum_cap {c |}{col 15}{res}{space 2} .0871735{col 27}{space 2} .1909151{col 38}{space 1}    0.46{col 47}{space 3}0.648{col 55}{space 4}-.2870133{col 68}{space 3} .4613602
{txt}{space 8}urban {c |}{col 15}{res}{space 2}-.2320064{col 27}{space 2} .5912826{col 38}{space 1}   -0.39{col 47}{space 3}0.695{col 55}{space 4}-1.390899{col 68}{space 3} .9268862
{txt}{space 13} {c |}
{space 9}year {c |}
{space 8}1902  {c |}{col 15}{res}{space 2}        0{col 27}{txt}  (empty)
{space 8}1906  {c |}{col 15}{res}{space 2}        0{col 27}{txt}  (empty)
{space 8}1907  {c |}{col 15}{res}{space 2} 4.952512{col 27}{space 2} 1.745514{col 38}{space 1}    2.84{col 47}{space 3}0.005{col 55}{space 4} 1.531369{col 68}{space 3} 8.373656
{txt}{space 8}1908  {c |}{col 15}{res}{space 2} 4.940414{col 27}{space 2} 1.742124{col 38}{space 1}    2.84{col 47}{space 3}0.005{col 55}{space 4} 1.525914{col 68}{space 3} 8.354913
{txt}{space 8}1909  {c |}{col 15}{res}{space 2}        0{col 27}{txt}  (empty)
{space 8}1910  {c |}{col 15}{res}{space 2}        0{col 27}{txt}  (empty)
{space 8}1911  {c |}{col 15}{res}{space 2} 6.288139{col 27}{space 2}  1.53847{col 38}{space 1}    4.09{col 47}{space 3}0.000{col 55}{space 4} 3.272792{col 68}{space 3} 9.303485
{txt}{space 8}1912  {c |}{col 15}{res}{space 2}        0{col 27}{txt}  (empty)
{space 8}1914  {c |}{col 15}{res}{space 2} 4.868795{col 27}{space 2} 1.444168{col 38}{space 1}    3.37{col 47}{space 3}0.001{col 55}{space 4} 2.038277{col 68}{space 3} 7.699313
{txt}{space 8}1915  {c |}{col 15}{res}{space 2} 3.893802{col 27}{space 2} 1.538646{col 38}{space 1}    2.53{col 47}{space 3}0.011{col 55}{space 4} .8781111{col 68}{space 3} 6.909494
{txt}{space 8}1916  {c |}{col 15}{res}{space 2} 3.057455{col 27}{space 2}  1.25753{col 38}{space 1}    2.43{col 47}{space 3}0.015{col 55}{space 4} .5927422{col 68}{space 3} 5.522168
{txt}{space 8}1917  {c |}{col 15}{res}{space 2} 1.371195{col 27}{space 2} 1.165428{col 38}{space 1}    1.18{col 47}{space 3}0.239{col 55}{space 4}-.9130014{col 68}{space 3} 3.655391
{txt}{space 8}1918  {c |}{col 15}{res}{space 2}-.0201054{col 27}{space 2} 1.421814{col 38}{space 1}   -0.01{col 47}{space 3}0.989{col 55}{space 4}-2.806809{col 68}{space 3} 2.766598
{txt}{space 8}1919  {c |}{col 15}{res}{space 2} .5324386{col 27}{space 2} 1.164811{col 38}{space 1}    0.46{col 47}{space 3}0.648{col 55}{space 4} -1.75055{col 68}{space 3} 2.815427
{txt}{space 8}1920  {c |}{col 15}{res}{space 2} .3513165{col 27}{space 2} 1.126874{col 38}{space 1}    0.31{col 47}{space 3}0.755{col 55}{space 4}-1.857316{col 68}{space 3} 2.559949
{txt}{space 8}1921  {c |}{col 15}{res}{space 2}-.2866567{col 27}{space 2} 1.231512{col 38}{space 1}   -0.23{col 47}{space 3}0.816{col 55}{space 4}-2.700375{col 68}{space 3} 2.127062
{txt}{space 8}1922  {c |}{col 15}{res}{space 2}-.4066807{col 27}{space 2} 1.230646{col 38}{space 1}   -0.33{col 47}{space 3}0.741{col 55}{space 4}-2.818702{col 68}{space 3} 2.005341
{txt}{space 8}1923  {c |}{col 15}{res}{space 2} .2496311{col 27}{space 2} 1.124385{col 38}{space 1}    0.22{col 47}{space 3}0.824{col 55}{space 4}-1.954123{col 68}{space 3} 2.453385
{txt}{space 8}1924  {c |}{col 15}{res}{space 2}-.0342117{col 27}{space 2} 1.162426{col 38}{space 1}   -0.03{col 47}{space 3}0.977{col 55}{space 4}-2.312524{col 68}{space 3} 2.244101
{txt}{space 8}1925  {c |}{col 15}{res}{space 2}        0{col 27}{txt}  (empty)
{space 8}1926  {c |}{col 15}{res}{space 2}        0{col 27}{txt}  (empty)
{space 8}1927  {c |}{col 15}{res}{space 2}        0{col 27}{txt}  (omitted)
{space 8}1928  {c |}{col 15}{res}{space 2}        0{col 27}{txt}  (empty)
{space 8}1929  {c |}{col 15}{res}{space 2}        0{col 27}{txt}  (empty)
{space 13} {c |}
{space 8}_cons {c |}{col 15}{res}{space 2}-5.202778{col 27}{space 2} 1.208683{col 38}{space 1}   -4.30{col 47}{space 3}0.000{col 55}{space 4}-7.571753{col 68}{space 3}-2.833803
{txt}{hline 14}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. logit hj catholic class hum_cap urban i.year

{txt}note: 1900.year != 0 predicts failure perfectly
      1900.year dropped and 156 obs not used

note: 1901.year != 0 predicts failure perfectly
      1901.year dropped and 168 obs not used

note: 1903.year != 0 predicts failure perfectly
      1903.year dropped and 159 obs not used

note: 1904.year != 0 predicts failure perfectly
      1904.year dropped and 233 obs not used

note: 1905.year != 0 predicts failure perfectly
      1905.year dropped and 224 obs not used

note: 1913.year != 0 predicts failure perfectly
      1913.year dropped and 74 obs not used

note: 1929.year != 0 predicts success perfectly
      1929.year dropped and 1 obs not used

note: 1930.year != 0 predicts failure perfectly
      1930.year dropped and 1 obs not used

note: 1928.year omitted because of collinearity
{res}{txt}Iteration 0:{space 3}log likelihood = {res:-6805.0161}  
Iteration 1:{space 3}log likelihood = {res:-4232.5098}  
Iteration 2:{space 3}log likelihood = {res:-4076.6409}  
Iteration 3:{space 3}log likelihood = {res:-4050.3241}  
Iteration 4:{space 3}log likelihood = {res:-4048.6886}  
Iteration 5:{space 3}log likelihood = {res:-4048.6645}  
Iteration 6:{space 3}log likelihood = {res:-4048.6644}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     9,943
{txt}{col 49}LR chi2({res}26{txt}){col 67}= {res}   5512.70
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-4048.6644{txt}{col 49}Pseudo R2{col 67}= {res}    0.4050

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          hj{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}catholic {c |}{col 14}{res}{space 2}-.5360781{col 26}{space 2}  .055317{col 37}{space 1}   -9.69{col 46}{space 3}0.000{col 54}{space 4}-.6444974{col 67}{space 3}-.4276588
{txt}{space 7}class {c |}{col 14}{res}{space 2} .0585908{col 26}{space 2}  .039785{col 37}{space 1}    1.47{col 46}{space 3}0.141{col 54}{space 4}-.0193864{col 67}{space 3}  .136568
{txt}{space 5}hum_cap {c |}{col 14}{res}{space 2} .2653045{col 26}{space 2} .0364213{col 37}{space 1}    7.28{col 46}{space 3}0.000{col 54}{space 4} .1939201{col 67}{space 3} .3366889
{txt}{space 7}urban {c |}{col 14}{res}{space 2}-.1684639{col 26}{space 2} .0766774{col 37}{space 1}   -2.20{col 46}{space 3}0.028{col 54}{space 4}-.3187488{col 67}{space 3} -.018179
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1900  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (empty)
{space 7}1901  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (empty)
{space 7}1902  {c |}{col 14}{res}{space 2}-6.196788{col 26}{space 2} 1.052079{col 37}{space 1}   -5.89{col 46}{space 3}0.000{col 54}{space 4}-8.258826{col 67}{space 3} -4.13475
{txt}{space 7}1903  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (empty)
{space 7}1904  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (empty)
{space 7}1905  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (empty)
{space 7}1906  {c |}{col 14}{res}{space 2} -6.36715{col 26}{space 2} .7755363{col 37}{space 1}   -8.21{col 46}{space 3}0.000{col 54}{space 4}-7.887173{col 67}{space 3}-4.847126
{txt}{space 7}1907  {c |}{col 14}{res}{space 2}-6.372638{col 26}{space 2} .7749224{col 37}{space 1}   -8.22{col 46}{space 3}0.000{col 54}{space 4}-7.891458{col 67}{space 3}-4.853818
{txt}{space 7}1908  {c |}{col 14}{res}{space 2}-6.451767{col 26}{space 2} .7750267{col 37}{space 1}   -8.32{col 46}{space 3}0.000{col 54}{space 4}-7.970791{col 67}{space 3}-4.932742
{txt}{space 7}1909  {c |}{col 14}{res}{space 2}-7.217315{col 26}{space 2} 1.049376{col 37}{space 1}   -6.88{col 46}{space 3}0.000{col 54}{space 4}-9.274054{col 67}{space 3}-5.160577
{txt}{space 7}1910  {c |}{col 14}{res}{space 2}-6.829979{col 26}{space 2} .7740566{col 37}{space 1}   -8.82{col 46}{space 3}0.000{col 54}{space 4}-8.347102{col 67}{space 3}-5.312856
{txt}{space 7}1911  {c |}{col 14}{res}{space 2}-5.761698{col 26}{space 2} .5482434{col 37}{space 1}  -10.51{col 46}{space 3}0.000{col 54}{space 4}-6.836235{col 67}{space 3}-4.687161
{txt}{space 7}1912  {c |}{col 14}{res}{space 2}-6.334082{col 26}{space 2} .6586342{col 37}{space 1}   -9.62{col 46}{space 3}0.000{col 54}{space 4}-7.624981{col 67}{space 3}-5.043182
{txt}{space 7}1913  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (empty)
{space 7}1914  {c |}{col 14}{res}{space 2}-4.563311{col 26}{space 2}   .59832{col 37}{space 1}   -7.63{col 46}{space 3}0.000{col 54}{space 4}-5.735996{col 67}{space 3}-3.390625
{txt}{space 7}1915  {c |}{col 14}{res}{space 2}-4.461335{col 26}{space 2} .5995469{col 37}{space 1}   -7.44{col 46}{space 3}0.000{col 54}{space 4}-5.636426{col 67}{space 3}-3.286245
{txt}{space 7}1916  {c |}{col 14}{res}{space 2}-2.724431{col 26}{space 2} .4197235{col 37}{space 1}   -6.49{col 46}{space 3}0.000{col 54}{space 4}-3.547074{col 67}{space 3}-1.901788
{txt}{space 7}1917  {c |}{col 14}{res}{space 2}-2.124374{col 26}{space 2} .3293954{col 37}{space 1}   -6.45{col 46}{space 3}0.000{col 54}{space 4}-2.769977{col 67}{space 3}-1.478771
{txt}{space 7}1918  {c |}{col 14}{res}{space 2}-1.733654{col 26}{space 2} .3268894{col 37}{space 1}   -5.30{col 46}{space 3}0.000{col 54}{space 4}-2.374346{col 67}{space 3}-1.092963
{txt}{space 7}1919  {c |}{col 14}{res}{space 2}-1.559514{col 26}{space 2} .3210425{col 37}{space 1}   -4.86{col 46}{space 3}0.000{col 54}{space 4}-2.188745{col 67}{space 3}-.9302818
{txt}{space 7}1920  {c |}{col 14}{res}{space 2}-1.337285{col 26}{space 2}  .317519{col 37}{space 1}   -4.21{col 46}{space 3}0.000{col 54}{space 4}-1.959611{col 67}{space 3}-.7149592
{txt}{space 7}1921  {c |}{col 14}{res}{space 2}-.9984556{col 26}{space 2} .3192298{col 37}{space 1}   -3.13{col 46}{space 3}0.002{col 54}{space 4}-1.624134{col 67}{space 3}-.3727767
{txt}{space 7}1922  {c |}{col 14}{res}{space 2}-.5629151{col 26}{space 2} .3202263{col 37}{space 1}   -1.76{col 46}{space 3}0.079{col 54}{space 4}-1.190547{col 67}{space 3} .0647169
{txt}{space 7}1923  {c |}{col 14}{res}{space 2} .2324676{col 26}{space 2} .3269692{col 37}{space 1}    0.71{col 46}{space 3}0.477{col 54}{space 4}-.4083804{col 67}{space 3} .8733155
{txt}{space 7}1924  {c |}{col 14}{res}{space 2} .1010783{col 26}{space 2} .3262427{col 37}{space 1}    0.31{col 46}{space 3}0.757{col 54}{space 4}-.5383457{col 67}{space 3} .7405023
{txt}{space 7}1925  {c |}{col 14}{res}{space 2} .6331107{col 26}{space 2} .3266178{col 37}{space 1}    1.94{col 46}{space 3}0.053{col 54}{space 4}-.0070484{col 67}{space 3}  1.27327
{txt}{space 7}1926  {c |}{col 14}{res}{space 2} .6706544{col 26}{space 2} .3282615{col 37}{space 1}    2.04{col 46}{space 3}0.041{col 54}{space 4} .0272737{col 67}{space 3} 1.314035
{txt}{space 7}1927  {c |}{col 14}{res}{space 2} .4325056{col 26}{space 2} .3641083{col 37}{space 1}    1.19{col 46}{space 3}0.235{col 54}{space 4}-.2811335{col 67}{space 3} 1.146145
{txt}{space 7}1928  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}1929  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (empty)
{space 7}1930  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (empty)
{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 1.015768{col 26}{space 2}  .326145{col 37}{space 1}    3.11{col 46}{space 3}0.002{col 54}{space 4} .3765352{col 67}{space 3}    1.655
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. predict yhat, pr
{err}variable {bf}yhat{sf} already defined
{txt}{search r(110), local:r(110);}

{com}. drop yhat

. logit punished yhat combattant mths_east
{err}variable {bf}yhat{sf} not found
{txt}{search r(111), local:r(111);}

{com}. predict yhat, pr
{txt}(8438 missing values generated)

{com}. logit punished yhat combattant mths_east

{res}{txt}Iteration 0:{space 3}log likelihood = {res:-1549.2876}  
Iteration 1:{space 3}log likelihood = {res:-1539.6939}  
Iteration 2:{space 3}log likelihood = {res:-1539.6267}  
Iteration 3:{space 3}log likelihood = {res:-1539.6267}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     3,541
{txt}{col 49}LR chi2({res}3{txt}){col 67}= {res}     19.32
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0002
{txt}Log likelihood = {res}-1539.6267{txt}{col 49}Pseudo R2{col 67}= {res}    0.0062

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    punished{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}yhat {c |}{col 14}{res}{space 2} .1672111{col 26}{space 2} .1477251{col 37}{space 1}    1.13{col 46}{space 3}0.258{col 54}{space 4}-.1223247{col 67}{space 3} .4567469
{txt}{space 2}combattant {c |}{col 14}{res}{space 2}-.0218459{col 26}{space 2} .1113956{col 37}{space 1}   -0.20{col 46}{space 3}0.845{col 54}{space 4}-.2401772{col 67}{space 3} .1964855
{txt}{space 3}mths_east {c |}{col 14}{res}{space 2} .0165758{col 26}{space 2} .0041003{col 37}{space 1}    4.04{col 46}{space 3}0.000{col 54}{space 4} .0085393{col 67}{space 3} .0246122
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.239573{col 26}{space 2} .1795465{col 37}{space 1}  -12.47{col 46}{space 3}0.000{col 54}{space 4}-2.591477{col 67}{space 3}-1.887668
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. logit punished yhat i.division_id, vce (cluster division_id)

{txt}note: 14.division_id != 0 predicts failure perfectly
      14.division_id dropped and 5 obs not used

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-1548.4229}  
Iteration 1:{space 3}log pseudolikelihood = {res: -1516.647}  
Iteration 2:{space 3}log pseudolikelihood = {res:-1514.1757}  
Iteration 3:{space 3}log pseudolikelihood = {res:-1514.1238}  
Iteration 4:{space 3}log pseudolikelihood = {res:-1514.1237}  
Iteration 5:{space 3}log pseudolikelihood = {res:-1514.1237}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     3,536
{txt}{col 49}{help j_robustsingular##|_new:Wald chi2(0)}{col 67}=          {res}.
{txt}{col 49}Prob > chi2{col 67}=          {res}.
{txt}Log pseudolikelihood = {res}-1514.1237{txt}{col 49}Pseudo R2{col 67}= {res}    0.0222

{txt}{ralign 78:(Std. Err. adjusted for {res:17} clusters in division_id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    punished{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}yhat {c |}{col 14}{res}{space 2} .1921803{col 26}{space 2} .2334283{col 37}{space 1}    0.82{col 46}{space 3}0.410{col 54}{space 4}-.2653308{col 67}{space 3} .6496914
{txt}{space 12} {c |}
{space 1}division_id {c |}
{space 10}2  {c |}{col 14}{res}{space 2} .0101111{col 26}{space 2} .0388585{col 37}{space 1}    0.26{col 46}{space 3}0.795{col 54}{space 4}-.0660503{col 67}{space 3} .0862724
{txt}{space 10}3  {c |}{col 14}{res}{space 2}-.1727913{col 26}{space 2} .0236264{col 37}{space 1}   -7.31{col 46}{space 3}0.000{col 54}{space 4}-.2190981{col 67}{space 3}-.1264844
{txt}{space 10}4  {c |}{col 14}{res}{space 2}-.6005492{col 26}{space 2} .0186025{col 37}{space 1}  -32.28{col 46}{space 3}0.000{col 54}{space 4}-.6370094{col 67}{space 3}-.5640891
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .3586277{col 26}{space 2} .0125749{col 37}{space 1}   28.52{col 46}{space 3}0.000{col 54}{space 4} .3339814{col 67}{space 3} .3832741
{txt}{space 10}8  {c |}{col 14}{res}{space 2}-.7668362{col 26}{space 2} .0247127{col 37}{space 1}  -31.03{col 46}{space 3}0.000{col 54}{space 4}-.8152723{col 67}{space 3}-.7184001
{txt}{space 10}9  {c |}{col 14}{res}{space 2} .5862566{col 26}{space 2} .0127454{col 37}{space 1}   46.00{col 46}{space 3}0.000{col 54}{space 4} .5612761{col 67}{space 3} .6112372
{txt}{space 9}10  {c |}{col 14}{res}{space 2}-1.902304{col 26}{space 2} .0334628{col 37}{space 1}  -56.85{col 46}{space 3}0.000{col 54}{space 4} -1.96789{col 67}{space 3}-1.836718
{txt}{space 9}11  {c |}{col 14}{res}{space 2}-.9182717{col 26}{space 2} .0732596{col 37}{space 1}  -12.53{col 46}{space 3}0.000{col 54}{space 4}-1.061858{col 67}{space 3}-.7746856
{txt}{space 9}12  {c |}{col 14}{res}{space 2}-.2076521{col 26}{space 2} .0545131{col 37}{space 1}   -3.81{col 46}{space 3}0.000{col 54}{space 4}-.3144957{col 67}{space 3}-.1008084
{txt}{space 9}14  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (empty)
{space 9}15  {c |}{col 14}{res}{space 2}-.1281555{col 26}{space 2} .0052963{col 37}{space 1}  -24.20{col 46}{space 3}0.000{col 54}{space 4}-.1385361{col 67}{space 3} -.117775
{txt}{space 9}16  {c |}{col 14}{res}{space 2}-.4114238{col 26}{space 2} .0178191{col 37}{space 1}  -23.09{col 46}{space 3}0.000{col 54}{space 4}-.4463486{col 67}{space 3}-.3764991
{txt}{space 9}17  {c |}{col 14}{res}{space 2} -.033806{col 26}{space 2} .0065813{col 37}{space 1}   -5.14{col 46}{space 3}0.000{col 54}{space 4}-.0467052{col 67}{space 3}-.0209068
{txt}{space 9}18  {c |}{col 14}{res}{space 2} .0395005{col 26}{space 2} .0028347{col 37}{space 1}   13.93{col 46}{space 3}0.000{col 54}{space 4} .0339445{col 67}{space 3} .0450565
{txt}{space 9}19  {c |}{col 14}{res}{space 2}-.6112696{col 26}{space 2} .0233638{col 37}{space 1}  -26.16{col 46}{space 3}0.000{col 54}{space 4}-.6570618{col 67}{space 3}-.5654773
{txt}{space 9}20  {c |}{col 14}{res}{space 2}-.4680164{col 26}{space 2} .0061281{col 37}{space 1}  -76.37{col 46}{space 3}0.000{col 54}{space 4}-.4800273{col 67}{space 3}-.4560055
{txt}{space 9}22  {c |}{col 14}{res}{space 2}-1.062629{col 26}{space 2} .0302095{col 37}{space 1}  -35.18{col 46}{space 3}0.000{col 54}{space 4}-1.121839{col 67}{space 3} -1.00342
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2}-1.539327{col 26}{space 2} .0769211{col 37}{space 1}  -20.01{col 46}{space 3}0.000{col 54}{space 4} -1.69009{col 67}{space 3}-1.388565
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. drop yhat

. reg monthshy catholic class hum_cap urban

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}    11,487
{txt}{hline 13}{c +}{hline 34}   F(4, 11482)     = {res}    54.78
{txt}       Model {c |} {res} 266355.096         4  66588.7739   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 13955997.5    11,482  1215.46747   {txt}R-squared       ={res}    0.0187
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0184
{txt}       Total {c |} {res} 14222352.6    11,486  1238.23373   {txt}Root MSE        =   {res} 34.864

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    monthshy{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}catholic {c |}{col 14}{res}{space 2}-6.880301{col 26}{space 2} .6562004{col 37}{space 1}  -10.49{col 46}{space 3}0.000{col 54}{space 4}-8.166566{col 67}{space 3}-5.594037
{txt}{space 7}class {c |}{col 14}{res}{space 2}-4.165723{col 26}{space 2} .4423918{col 37}{space 1}   -9.42{col 46}{space 3}0.000{col 54}{space 4}-5.032886{col 67}{space 3}-3.298559
{txt}{space 5}hum_cap {c |}{col 14}{res}{space 2}  1.03052{col 26}{space 2} .3688678{col 37}{space 1}    2.79{col 46}{space 3}0.005{col 54}{space 4}  .307476{col 67}{space 3} 1.753563
{txt}{space 7}urban {c |}{col 14}{res}{space 2}-3.543055{col 26}{space 2} .8740681{col 37}{space 1}   -4.05{col 46}{space 3}0.000{col 54}{space 4}-5.256377{col 67}{space 3}-1.829732
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 35.72684{col 26}{space 2} 1.083845{col 37}{space 1}   32.96{col 46}{space 3}0.000{col 54}{space 4} 33.60232{col 67}{space 3} 37.85136
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. predict yhat
{txt}(option {bf:xb} assumed; fitted values)
(6,976 missing values generated)

{com}. logit punished yhat i.division_id, vce (cluster division_id)

{txt}note: 14.division_id != 0 predicts failure perfectly
      14.division_id dropped and 5 obs not used

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-1588.1358}  
Iteration 1:{space 3}log pseudolikelihood = {res:-1557.5266}  
Iteration 2:{space 3}log pseudolikelihood = {res:-1555.4172}  
Iteration 3:{space 3}log pseudolikelihood = {res:-1555.3912}  
Iteration 4:{space 3}log pseudolikelihood = {res:-1555.3911}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     3,660
{txt}{col 49}{help j_robustsingular##|_new:Wald chi2(1)}{col 67}=          {res}.
{txt}{col 49}Prob > chi2{col 67}=          {res}.
{txt}Log pseudolikelihood = {res}-1555.3911{txt}{col 49}Pseudo R2{col 67}= {res}    0.0206

{txt}{ralign 78:(Std. Err. adjusted for {res:17} clusters in division_id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    punished{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}yhat {c |}{col 14}{res}{space 2} .0030714{col 26}{space 2} .0092573{col 37}{space 1}    0.33{col 46}{space 3}0.740{col 54}{space 4}-.0150726{col 67}{space 3} .0212154
{txt}{space 12} {c |}
{space 1}division_id {c |}
{space 10}2  {c |}{col 14}{res}{space 2}  .084522{col 26}{space 2} .0041301{col 37}{space 1}   20.46{col 46}{space 3}0.000{col 54}{space 4} .0764272{col 67}{space 3} .0926168
{txt}{space 10}3  {c |}{col 14}{res}{space 2}-.1299926{col 26}{space 2} .0002363{col 37}{space 1} -550.01{col 46}{space 3}0.000{col 54}{space 4}-.1304558{col 67}{space 3}-.1295294
{txt}{space 10}4  {c |}{col 14}{res}{space 2}-.5091545{col 26}{space 2} .0012501{col 37}{space 1} -407.30{col 46}{space 3}0.000{col 54}{space 4}-.5116047{col 67}{space 3}-.5067044
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .4044483{col 26}{space 2} .0103357{col 37}{space 1}   39.13{col 46}{space 3}0.000{col 54}{space 4} .3841907{col 67}{space 3} .4247059
{txt}{space 10}8  {c |}{col 14}{res}{space 2} -.697029{col 26}{space 2} .0288537{col 37}{space 1}  -24.16{col 46}{space 3}0.000{col 54}{space 4}-.7535811{col 67}{space 3}-.6404769
{txt}{space 10}9  {c |}{col 14}{res}{space 2} .5820049{col 26}{space 2} .0068988{col 37}{space 1}   84.36{col 46}{space 3}0.000{col 54}{space 4} .5684836{col 67}{space 3} .5955263
{txt}{space 9}10  {c |}{col 14}{res}{space 2}-1.672485{col 26}{space 2} .0039859{col 37}{space 1} -419.60{col 46}{space 3}0.000{col 54}{space 4}-1.680297{col 67}{space 3}-1.664673
{txt}{space 9}11  {c |}{col 14}{res}{space 2}-.9308942{col 26}{space 2}  .023559{col 37}{space 1}  -39.51{col 46}{space 3}0.000{col 54}{space 4} -.977069{col 67}{space 3}-.8847194
{txt}{space 9}12  {c |}{col 14}{res}{space 2}-.1231253{col 26}{space 2}  .004194{col 37}{space 1}  -29.36{col 46}{space 3}0.000{col 54}{space 4}-.1313453{col 67}{space 3}-.1149052
{txt}{space 9}14  {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (empty)
{space 9}15  {c |}{col 14}{res}{space 2}-.0992135{col 26}{space 2} .0037617{col 37}{space 1}  -26.37{col 46}{space 3}0.000{col 54}{space 4}-.1065863{col 67}{space 3}-.0918407
{txt}{space 9}16  {c |}{col 14}{res}{space 2}-.4593389{col 26}{space 2} .0130002{col 37}{space 1}  -35.33{col 46}{space 3}0.000{col 54}{space 4}-.4848189{col 67}{space 3}-.4338589
{txt}{space 9}17  {c |}{col 14}{res}{space 2}-.0397905{col 26}{space 2} .0186089{col 37}{space 1}   -2.14{col 46}{space 3}0.032{col 54}{space 4}-.0762633{col 67}{space 3}-.0033176
{txt}{space 9}18  {c |}{col 14}{res}{space 2} .0626308{col 26}{space 2} .0097452{col 37}{space 1}    6.43{col 46}{space 3}0.000{col 54}{space 4} .0435306{col 67}{space 3}  .081731
{txt}{space 9}19  {c |}{col 14}{res}{space 2}-.5603684{col 26}{space 2} .0032074{col 37}{space 1} -174.71{col 46}{space 3}0.000{col 54}{space 4}-.5666548{col 67}{space 3} -.554082
{txt}{space 9}20  {c |}{col 14}{res}{space 2}-.4272654{col 26}{space 2} .0018996{col 37}{space 1} -224.92{col 46}{space 3}0.000{col 54}{space 4}-.4309886{col 67}{space 3}-.4235422
{txt}{space 9}22  {c |}{col 14}{res}{space 2}-1.117315{col 26}{space 2} .0111997{col 37}{space 1}  -99.76{col 46}{space 3}0.000{col 54}{space 4}-1.139266{col 67}{space 3}-1.095364
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2}-1.594061{col 26}{space 2} .2294369{col 37}{space 1}   -6.95{col 46}{space 3}0.000{col 54}{space 4}-2.043749{col 67}{space 3}-1.144373
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}U:\u5390570\Hitler Youth Project\Main Data Analysis\More Altonji-Elder-Taber Tests.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}20 Nov 2017, 08:01:23
{txt}{.-}
{smcl}
{txt}{sf}{ul off}